package com.gxa.entity.investment;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_investment_plan")
@ApiModel(value = "InvestmentPlan对象", description = "")
public class InvestmentPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "招商计划id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "计划名称")
    @TableField("plan_name")
    private String planName;

    @ApiModelProperty(value = "年份")
    @TableField("plan_year")
    private Date planYear;

    @ApiModelProperty(value = "制定人")
    @TableField("plan_maker")
    private String planMaker;

    @ApiModelProperty(value = "创建时间")
    @TableField("plan_creation_time")
    private Date planCreationTime;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String Remark;

    @ApiModelProperty(value = "状态（0-已完成，1-待执行，2-执行中，3-已终止）")
    @TableField("investment_plan_state")
    private Integer investmentPlanState;

    @ApiModelProperty(value = "0-正常，1-删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;
}
